Skip to content

)}

Spark.Equals(Spark) method

Defined in

Type: Spark Namespace: ReactiveUI.Primitives.Reactive.Core Assembly: ReactiveUI.Primitives.Reactive.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Overloads

  • 1. public bool Equals(Spark<T> other)
  • 2. public override bool Equals(object obj)

1. Overload

public bool Equals(Spark<T> other)

View source

Summary: Determines whether the current Spark object has the same observer message payload as a specified Spark value.

Parameters

NameTypeDescription
other[Spark](#An object to compare to the current Spark object.

Returns: bool -- true if both Spark objects have the same observer message payload; otherwise, false.

Remarks

        Equality of Spark<T> objects is based on the equality of the observer message payload they represent,
        including the Spark Kind and the Value or Exception (if any).
        

2. Overload

public override bool Equals(object obj)

Parameters

NameTypeDescription
objobject--

Returns: bool